package com.hkts.naturalgas.organizational.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.organizational.entity.HontPost;
import com.hkts.naturalgas.organizational.entity.HontUserPost;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.performance.performanceVo.HontPostTitleVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2022-09-20
 */
public interface IHontUserPostService extends IService<HontUserPost> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hontUserPost
     * @return
     */
    IPage<HontUserPost> selectPage(Page<HontUserPost> page, HontUserPost hontUserPost);

    List<HontUserPost> selectList(HontUserPost hontUserPost);

    List<HontPostTitleVo> getByUserId(String userId);
}